﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HNMS.SuperServer
{
    class Program
    {
        static void Main(string[] args)
        {
            if (args.Length>0)
            {
                if (args[0] == "-i")
                {
                    SelfInstaller.InstallMe();
                    Console.Read();
                }
                else if (args[0] == "-c")
                {
                    Console.WriteLine(SelfInstaller.UninstallMe() ? "卸载成功" : "卸载失败");
                    Console.Read();
                }
            }
        }
    }
}